<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0" />
        <title>7. arguments内置对象</title>
    </head>
    <body>
        <script>
            // arguments 是函数的内置对象，类似与数组，拥有数组的length属性和索引数组的方法
            function fun() {
                var len = arguments.length;
                console.log(len);
                console.log(arguments);
                
            }
            fun(1, 3, 45, "a", 'b', 'c')
        </script>
    </body>
</html>
